package com.kkb.projectauth.pojo;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.context.annotation.Bean;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author River
 * 用户表的 实体类
 */

@Data
public class User implements Serializable {
    @ApiModelProperty(value = "用户ID ", required = true)
    private Long id;

    @ApiModelProperty(value = "姓名", required = true)
    private String name;

    @ApiModelProperty(value = "微信号码", required = true)
    private String wxCard;

    @ApiModelProperty(value = "用户类型 ", required = true)
    private Byte type;

    @ApiModelProperty(value = "职业身份", required = true)
    private String title;

    @ApiModelProperty(value = "工作年限", required = true)
    private String workYear;

    @ApiModelProperty(value = "项目数量 ")
    private Integer projectNumber;

    @ApiModelProperty(value = "日薪", required = true)
    private BigDecimal dailySalary;

    @ApiModelProperty(value = "后台设置排名 ")
    private Byte managerRank;

    @ApiModelProperty(value = "名次软删除 ", required = true)
    private Byte isDeleted;

    @ApiModelProperty(value = "头像图片地址", required = true)
    private String imageHard;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "更新时间", required = true)
    private Date updatedTime;

    @ApiModelProperty(value = "乐观锁")
    private Integer revision;

    private static final long serialVersionUID = 1L;

}
